﻿using Demo.AttachFileService.Mongo.Domain.Entities;
using JT808.Protocol.Extensions.JTActiveSafety.Metadata;

namespace Demo.AttachFileService.Models
{
    /// <summary>
    /// 文件接收记录
    /// </summary>
    public class FileRecvRecored: Node, IEntity<int>
    {
 
        public int Id { get; set; }

        /// <summary>
        /// 文件名称
        /// </summary>
        public string FileName { get; set; }
 

        public byte[] Bodies { get; set; }
 
        public object[] GetKeys()
        {
            return new object[] { Id };
        }
    }
}
